package com.one.mapper;

import com.one.entity.SysClassEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 */
@Mapper
public interface SysClassMapper extends BaseMapper<SysClassEntity> {

    int insertClass(SysClassEntity sysClassEntity);

    SysClassEntity selectClassByCodeAndName(SysClassEntity sysClassEntity);

    int deleteClass(SysClassEntity sysClassEntity);

    int updateClass(SysClassEntity sysClassEntity);

    List<Object> selectClass(SysClassEntity sysClassEntity);
}
